package com.ldw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ldw.pojo.Tag;
import com.ldw.vo.Result;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TagMapper extends BaseMapper<Tag> {
    List<Tag> queryByArticleId(Long id);

    List<Long> hotTage(int limit);

    List<Tag> queryHotTageById(List<Long> tags);
}
